package com.viboo.concern.service;

import com.viboo.concern.entity.User;

/**
 * @author avanline
 * @descriotion 用户信息操作
 * @date 2018-02-28 18:18
 */
public interface UserService {
    /**
     * 插入用户信息
     *
     * @param user
     * @return
     */
    boolean addUser(User user) throws Exception;

    /**
     * 设置分享时间
     *
     * @return
     */
    boolean updateShareTime(User user) throws Exception;

    /**
     * 查询指定用户信息
     *
     * @param openId
     * @return
     */
    User selectUser(String openId) throws Exception;

}
